how we find angle by using A.B =ABCos@

why cos is used in dot or scalar product || Conceptual physics